//
//  BaseNavigationView.h
//  ZITHER
//
//  Created by imac on 2018/5/28.
//  Copyright © 2018年 MinesTime. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NavStyleSKU.h"
#import "NavViewStyleMyInterest.h"
#import "NavigationViewTitleLeft.h"

typedef NS_ENUM(NSUInteger, NavigationViewClickType) {
    NavigationViewClickTypeNone,
    NavigationViewClickTypeLeft1,
    NavigationViewClickTypeRight1,
    NavigationViewClickTypeRight2,
    NavigationViewTitleLeft1,//文字标题左边

};

typedef NS_ENUM(NSUInteger, NavigationBarStyle) {
    NavigationBarStyleSKU,
    NavViewStyle,
    NavViewStyleMyIntere
};

typedef void(^NavigationViewClickBlock)(NavigationViewClickType clickType, UIButton *button);

@interface BaseNavigationView : UIView
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
/** tag 1 */
@property (weak, nonatomic) IBOutlet UIButton *leftButton1;
/** tag 2 */
//@property (weak, nonatomic) IBOutlet UIButton *leftButton2;

/** tag 11 */
@property (weak, nonatomic) IBOutlet UIButton *rightButton1;
/** Default 26 */
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *rightButton1WidthLayout;
/** tag 12 */
@property (weak, nonatomic) IBOutlet UIButton *rightButton2;
/** Default 26 */
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *rightButton2WidthLayout;
@property (weak, nonatomic) IBOutlet UIImageView *BGImageView;
@property (weak, nonatomic) IBOutlet UIView *bottomLineView;

/** 是否显示下边阴影 */
@property (nonatomic, assign) BOOL isShowShadow;

+ (BaseNavigationView *)instanceWithFrame:(CGRect)frame;

@property (nonatomic, copy) NavigationViewClickBlock navigationViewClickBlock;

-(void)NavigationBarStyle:(NavigationBarStyle)NavigationBarStyle;

@property (nonatomic,strong)NavStyleSKU * NavStyleSKUV;
@property (nonatomic,strong)navViewStyle * navViewStyle;
@property (nonatomic,strong)NavViewStyleMyInterest * NavViewStyleMyInterest;
@property (nonatomic,strong)NavigationViewTitleLeft * NavigationViewTitleLeft;


-(void)setHiddenNav:(BOOL)type VC:(UIViewController*)vc;


@end
